<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<form action="/body/register/" method="POST">
    {% csrf_token %}
   <p><label>用户名：</label><input name="user"/></p>
    <p><label>账号（手机号）</label><input name="account"/></p>
    <p><label>密码：</label><input name="pwd"></p>
    <input type="submit" value="注册"/>
</form>
<form action="/body/tologin/">
    <button type="submit">
        <h>返回登录页面</h>
    </button>
</form>

</body>
</html>